import request from '/@/utils/request'
// 查询操作日志列表
export function getSysOperLogs(query:object) {
    return request({
        url: '/api/v1/system/operate/logs',
        method: 'get',
        params: query
    })
}

export function getSysOperLog(query:object) {
    return request({
        url: '/api/v1/system/operLog/clear',
        method: 'get',
        params: query
    })
}
export function clearOperLog() {
    return request({
        url: '/api/v1/system/operLog/clear',
        method: 'delete',
    })
}
